package com.ljd.entity.page;

import lombok.Data;
import java.util.ArrayList;
import java.util.List;

@Data
public class PageResponse<T> {
    private List<T> items = new ArrayList();
    private Integer current;
    private Integer pageSize;
    private Integer total;
    private Boolean hasNext;//下一页
    private Boolean hasPrevious;//上一页
    private Integer pages;//总页数
}
